FROM  ubuntu
RUN  apt-get update
RUN  apt-get install -y openjdk-8-jre-headless
RUN mkdir -p /home/ubuntu/gossip/
RUN mkdir -p /opt/ds/data/

ADD gossip-1.0-SNAPSHOT.jar /home/ubuntu/gossip/

ENV LANG C.UTF-8
ENV TZ=Asia/Shanghai

### docker build -t gossip:1.0.0 .
### docker run -it gossip:1.0.0
### docker run -it gossip:1.0.0
